package com.htudata.common.conf;

import net.sf.ehcache.CacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@ComponentScan(basePackages = {"com.htudata"})
@Configuration
public class BeanInit {

    @Bean
    public CacheManager cacheManager() {
        return CacheManager.create();
    }

}
